The government has issued a warning to restaurants and hotels against automatically adding service charges, deeming the practice unlawful under court orders and CCPA guidelines.