A summary dismissal is only legally valid if all legal requirements are met. There must be an urgent reason, the dismissal must be immediate and the reason must have been communicated to you immediately and clearly. If one of these conditions is missing, the dismissal may be unjustified.