Bakery facing possible legal action over cake refusal